import VueRouter from 'vue-router'   //导入包




import person from './zj1/person.vue'
import  doctor from './zj1/doctor.vue'


var router=new VueRouter({             //创建路由对象  
    routes:[  
      { path: '/person', component: person },
      { path: '/doctor', component: doctor }


                  
    ]   // ,linkActiveClass: 'mystyle' 
  });

  export default router      //向外暴露路由 